package com.foreveross.taskservice.application.impl.statistics;

import java.util.List;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.foreveross.taskservice.application.statistics.EngineStatisticsApplication;
import com.foreveross.taskservice.core.domain.statitics.entity.EngineStatisticsEntity;
@Transactional
@Scope("singleton")
@Service("engineStatisticsApplication")
public class EngineStatisticsApplicationImpl implements EngineStatisticsApplication {

	@Override
	public EngineStatisticsEntity dealProcessing(List<EngineStatisticsEntity> list,int status) {
		if(list.size()>0){
			EngineStatisticsEntity entity=new EngineStatisticsEntity();
			for(EngineStatisticsEntity en:list){
				
			}
			
			return entity;
		}
		return null;
	}

	@Override
	public void save(EngineStatisticsEntity listEntity) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void update(EngineStatisticsEntity listEntity) {
		// TODO Auto-generated method stub
		
	}

}
